﻿@page
@model LTQT.Pages.ChooseModel
@{
}

<style>
    a{
        margin-top: 15px;
        margin-bottom:15px
    }
</style>

<div style="height:40px; text-align:right;">
    @if (Model.User.IsAdmin == 1)
    {
        <div style="width:100%">
            <a class="btn btn-info" style="color:white; margin-top:15px;" asp-page="QuizList">创建编辑问卷页面</a>
        </div>
        <div style="width:100%">
            <a class="btn btn-secondary" style="color:white; margin-top:-10px;" asp-page="GetResult">进入查看问卷页面</a>
        </div>
    }
</div>

<div style="margin:auto; width:100%; text-align:center; margin-top:30px; height:30px">
</div> 
<div style="margin:auto;height:45px;width:100%; color:#2b92f9;padding-bottom:10px" class="text-center">
    <h2>请选择您想报名的项目</h2>
</div>


<div style="width:80%; margin:auto">
    @foreach (var item in Model.Quizs)
    {
        <a class="btn btn-outline-primary btn-block" asp-page="Quiz" asp-route-QuizID="@item.ID">@item.Name</a>
    }
</div>
